﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Volo.Abp;
using Volo.Abp.Application.Services;
using YaAppoint.Response;

namespace YaAppoint.Appointments.PlanPools
{
    /// <summary>
    /// 号池计划服务
    /// </summary>
    [RemoteService(isEnabled:false)]
    public interface IPlanPoolAppService:IApplicationService
    {
        Task<BackJson> GetTableData(Guid sid);

        Task<BackJson> SubmitCreate(CreatePlanPoolDto dto, Guid sid);

        Task<BackJson> SubmitEdit(PlanPoolDto dto);

        Task<BackJson> BatchCreate(BatchModelDto batchModel, Guid sid);

        Task<BackJson> GetAsync(Guid id);

        Task<BackJson> DeletePlanPool(Guid id);

        Task<BackJson> DeleteMany(List<Guid> idList);

        Task<BackJson> DeleteAll(Guid sid);

        Task<BackJson> GetTablePlanPool(Guid sid, DayInWeek weekDay, Guid intervalId);
    }
}
